package com.exam.api.entity;

import com.exam.api.common.BaseEntity;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
* @description: 分数详情实体类
* @author: wuming
* @create: 2024.05.03 13:24:03
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ExamDetail extends BaseEntity {

    /**
    * 详情编号
    */
    private Long id;
    /**
    * 所属学生
    */
    private Long studentId;
    /**
    * 所属考试
    */
    private Long examId;
    /**
    * 所属试题
    */
    private Long questionId;
    /**
    * 分数
    */
    private String grade;
    private String answer;

    /**
    * 创建时间
    */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


}
